package com.wuh.model;

import java.util.Date;
import java.io.Serializable;

/**
 * 公开课报名表(ClassSignUp)实体类
 */
public class ClassSignUp extends BasePage implements Serializable {

    /**
     * 主键 报名表id
     */
    private Integer signUpId;

    /**
     * 报名用户id
     */
    private Integer userId;

    /**
     * 课程id
     */
    private Integer classId;

    /**
     * 报名时间
     */
    private Date lastModify;

    /**
     * 引用公开课实体类
     * 一对一关系
     */
    private ClassInfor classInfor;

    /**
     * 引用教师实体类
     * 一对一关系
     */
    private Teacher teacher;

    public ClassInfor getClassInfor() {
        return classInfor;
    }

    public void setClassInfor(ClassInfor classInfor) {
        this.classInfor = classInfor;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Integer getSignUpId() {
        return signUpId;
    }

    public void setSignUpId(Integer signUpId) {
        this.signUpId = signUpId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Date getLastModify() {
        return lastModify;
    }

    public void setLastModify(Date lastModify) {
        this.lastModify = lastModify;
    }

    @Override
    public String toString() {
        return "ClassSignUp{" +
                "signUpId=" + signUpId +
                ", userId=" + userId +
                ", classId=" + classId +
                ", lastModify=" + lastModify +
                ", classInfor=" + classInfor +
                ", teacher=" + teacher +
                '}';
    }
}